package com.spring.cloud.study.collection;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created with IntelliJ IDEA.
 * User: 齐丹枫
 * Date: 2018/1/29
 * Time: 14:00
 * To change this template use File | Settings | File Templates.
 * Description:
 */
@RestController
@RequestMapping("/test")
public class TestController {

    @Autowired
    private Test test;

    @RequestMapping("/getport")
    public String getServerPort() {
        return test.getServerPort()+"feign02";

    }
}
